package edu.tjhsst.androidIntranet.news;

import java.io.Serializable;
import java.util.Date;

public class NewsEntry implements Serializable {
	
	private static final long serialVersionUID = 5952805529201038198L;
	
	private int identifier;
	private Date datePosted;
	private String title;
	private String content;
	private String poster;

	private boolean read;

	public NewsEntry(int identifier, String title, String content, String poster, Date datePosted, boolean read) {
		this.identifier=identifier;
		this.title=title;
		this.content=content;
		this.poster=poster;
		this.datePosted=datePosted;
		this.read = read;
	}

	public int getIdentifier() {
		return identifier;
	}

	public String getTitle() {
		return title;
	}

	public String getContent() {
		return content;
	}
	
	public String getPoster() {
		return poster;
	}

	public Date getDatePosted() {
		return datePosted;
	}
	
	public boolean isRead() {
		return read;
	}

}
